<%-- 
    Document   : functions-list
    Created on : 2014-12-14, 18:03:34
    Author     : michal
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<jsp:include page="/header.jsp" />

<html:form action="fuzzy.do">
<table>
    <tr>
        <th>#</th>
        <th>Table</th>
        <th>Column</th>
        <th>Value</th>
        <th>Number</th>
        <th>Options</th>
    </tr>
    <% int i=1; %>
    <logic:iterate name="functions" id="FuzzyForm">
        <tr>
            <td class="text-center"><%= i++ %></td>
            <td><bean:write name="FuzzyForm" property="nazwatabeli" /></td>
            <td><bean:write name="FuzzyForm" property="kolumnatabeli" /></td>
            <td><bean:write name="FuzzyForm" property="wartosc" /></td>
            <td><bean:write name="FuzzyForm" property="nr" /></td>
            <td class="text-center"><a href="fuzzy.do?method=manage&amp;functionId=<bean:write name="FuzzyForm" property="funNr" />" title="Update" class="update-client">
                <img src="<%=request.getContextPath()%>/img/pencil.png" alt="Update" />
            </a></td>
        </tr>
        
    </logic:iterate>
</table>
</html:form>

<jsp:include page="/footer.jsp" />